﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TopFrame.aspx.cs" Inherits="TopFrame" %>
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-size: 12px;
}
a{ color:#0064a8;}
a:hover{ color:#333;}
img,em,p{ font-style:normal;border:0; padding:0; margin:0;}
.top{ height:50px; background:url(images/top_bg.jpg) no-repeat left 0; border-bottom:2px solid #2a82be; padding:5px 10px;}
.top h1{ float:left; margin:0; border:0; padding:0}
.top .logo{ float:left;}
.top .ver{ float:left; background:url(images/ver.gif) 0 5px no-repeat; width:200px; height:50px;}
.top h1 img{ height:50px;}
.top .user{ float:right; text-align:right; line-height:25px;}
.top .user em{color:#0064a8;}
.top .user span{ margin-left:10px;}

</style>
</head>

<body>
<div class="top">
	<h1>
    	<span class="logo"><a href="<%=SchoolLink %>" target="_blank"><img border="0" id="Img1" src="<%=CurrentSchool==null?"images/logo2.gif": PageHelper.GetWebConfigValue("SchollImageHttp")+CurrentSchool.VS_logofile%>" alt="返回学校主页"></a></span>
        <span class="ver"></span>
    </h1>
    <div class="user">
    	<p><a href="<%=SchoolLink %>" target="_blank">返回学校首页</a></p>
        <p><span>当前用户：<em><%= this.RealName%></em></span><span>所在学校：<em><% if(CurrentSchool!=null) {%> <% =this.CurrentSchool.VS_name%> <% } %></em></span><span>用户类型：<em><span runat="server" id="spanUserType"></em></span><span><%if (this.AdminType == 0)
                                                                                                                       { %><a
                href="LoginOut.aspx?exit=exit&T=S">退出登录</a><%}
                                                                                                                       else
                                                                                                                       {%><a                                                                                                                    { %><a
                href="LoginOut.aspx?exit=exit&T=U" target="main">退出登录</a><%} %></span></p>
    </div>
</div>
</body>
</html>
